
import request from "@/utils/request";

/**
 * 根据附件父级区划oid 查询下级集合数据
 */
  export function getTreeOfDistrict(hdlOid) {
    return request({
      url: process.env.VUE_APP_KSTB_ROUTE_PATH + '/yxpz/detailListBusinessGuide/getTreeOfDistrict?hdlOid='+hdlOid,
      method: 'get'
    })
}
  /**
   * 查询当前区划下的默认情形引导
   */
  export function getDefaultDistricts(hdlOid) {
    return request({
      url: process.env.VUE_APP_KSTB_ROUTE_PATH + '/yxpz/detailListBusinessGuide/getDefaultDistricts?hdlOid='+hdlOid,
      method: 'get'
    })
  }

// 查询无关联关系的情形
export function querySituatioStandardList(hdlOid,values) {
  return request({
    url: process.env.VUE_APP_KSTB_ROUTE_PATH + '/zcbl/businessHandling/querySituatioStandardList?hdlOid='+hdlOid+'&values='+values,
    method: 'get'
  })
}



// 查询无关联关系的情形
export function nextSituatio(value) {
  return request({
    url: process.env.VUE_APP_KSTB_ROUTE_PATH + '/zcbl/businessHandling/querySituatioTitleByValue?value='+value,
    method: 'get'
  })
}

// 查询有联关系的情形
export function relateSituatio(titleOid) {
  return request({
    url: process.env.VUE_APP_KSTB_ROUTE_PATH + '/zcbl/businessHandling/querySituatioByTitle?titleOid='+titleOid,
    method: 'get'
  })
}
